<?php

namespace App\Repositories;

use App\Models\ReturnLog;
use InfyOm\Generator\Common\BaseRepository;

/**
 * Class ReturnLogRepository
 * @package App\Repositories
 * @version September 20, 2017, 11:13 am CST
 *
 * @method ReturnLog findWithoutFail($id, $columns = ['*'])
 * @method ReturnLog find($id, $columns = ['*'])
 * @method ReturnLog first($columns = ['*'])
*/
class ReturnLogRepository extends BaseRepository
{
    /**
     * @var array
     */
    protected $fieldSearchable = [
        'type',
        'order_id',
        'goods_id',
        'attribute_id',
        'status'
    ];

    /**
     * Configure the Model
     **/
    public function model()
    {
        return ReturnLog::class;
    }
}
